
package com.cctv.ppm.schema.ppm_commondatatypes._0;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 部门类型
 * 
 * <p>DepartmentType complex type的 Java 类。
 * 
 * <p>以下模式片段指定包含在此类中的预期内容。
 * 
 * <pre>
 * &lt;complexType name="DepartmentType"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="DepartmentCode" type="{http://cctv.com/PPM/schema/PPM_CommonDataTypes/0.1}DepartmentCodeType"/&gt;
 *         &lt;element name="DepartmentName" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *         &lt;element name="DepartmentType" type="{http://www.w3.org/2001/XMLSchema}short"/&gt;
 *         &lt;element name="DepartmentStatus" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *       &lt;/sequence&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DepartmentType", propOrder = {
    "departmentCode",
    "departmentName",
    "departmentType",
    "departmentStatus"
})
public class DepartmentType {

    @XmlElement(name = "DepartmentCode", required = true)
    protected String departmentCode;
    @XmlElement(name = "DepartmentName", required = true)
    protected String departmentName;
    @XmlElement(name = "DepartmentType")
    protected short departmentType;
    @XmlElement(name = "DepartmentStatus", required = true)
    protected String departmentStatus;

    /**
     * 获取departmentCode属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getDepartmentCode() {
        return departmentCode;
    }

    /**
     * 设置departmentCode属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setDepartmentCode(String value) {
        this.departmentCode = value;
    }

    /**
     * 获取departmentName属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getDepartmentName() {
        return departmentName;
    }

    /**
     * 设置departmentName属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setDepartmentName(String value) {
        this.departmentName = value;
    }

    /**
     * 获取departmentType属性的值。
     * 
     */
    public short getDepartmentType() {
        return departmentType;
    }

    /**
     * 设置departmentType属性的值。
     * 
     */
    public void setDepartmentType(short value) {
        this.departmentType = value;
    }

    /**
     * 获取departmentStatus属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getDepartmentStatus() {
        return departmentStatus;
    }

    /**
     * 设置departmentStatus属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setDepartmentStatus(String value) {
        this.departmentStatus = value;
    }

}
